﻿using LJLib.Net.SPI.Com;
using PhoneUI.Com.Modle;
using System.Collections.Generic;

namespace PhoneUI.Com
{
    /// <summary>
    /// 获取客户销售价 请求类
    /// </summary>
    public sealed class GetCustMtrlPriceRequest : ILJTokenRequest<GetCustMtrlPriceResponse>
    {
        public string token { get; set; }
        /// <summary>
        /// 客户ID
        /// </summary>
        public int cusid { get; set; }
        /// <summary>
        /// 物料编码,模糊查询
        /// </summary>
        public string mtrlcode { get; set; }

        public string GetApiName()
        {
            return "GetCustMtrlPrice";
        }
    }

    /// <summary>
    /// 获取客户销售价 返回类
    /// </summary>
    public sealed class GetCustMtrlPriceResponse : LJResponse
    {
        /// <summary>
        /// 销售价列表
        /// </summary>
        public List<CustMtrlPrice> prices { get; set; } 
    }
}